﻿using System;

namespace WorkOrder.Model
{
    public class Model_Table_Exception
    {
        private string _exception_id, _exception_type_id, _order_id, _exception, _create_time, _creator;
        public string Exception_id { set { _exception_id = value; } get { return _exception_id; } }
        public string Exception_type_id { set { _exception_type_id = value; } get { return _exception_type_id; } }
        public string Order_id { set { _order_id = value; } get { return _order_id; } }
        public string Exception { set { _exception = value; } get { return _exception; } }
        public string Create_time { set { _create_time = value; } get { return _create_time; } }
        public string Creator { set { _creator = value; } get { return _creator; } }
        public Model_Table_Exception() { }
        public Model_Table_Exception(string exception_id, string exception_type_id, string order_id, string exception, DateTime create_time, string creator) 
        {
            _exception_id = exception_id;
            _exception_type_id = exception_type_id;
            _order_id = order_id;
            _exception = exception;
            _create_time = create_time.ToString();
            _creator = creator;
        }
    }
}
